package com.yinNuo.collectWool.mobileApi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 羊毛表 存是什么羊毛的(WoolTask)实体类
 *
 * @author makejava
 * @since 2021-12-12 11:11:24
 */
public class WoolTask extends Model<WoolTask> implements Serializable {
    private static final long serialVersionUID = 774003792011541058L;
    /**
     * 主键id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 羊毛app名称
     */
    private String woolName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWoolName() {
        return woolName;
    }

    public void setWoolName(String woolName) {
        this.woolName = woolName;
    }
    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "WoolTask{" +
                "id=" + id +
                ", woolName='" + woolName + '\'' +
                '}';
    }
}

